//
//  UIView+ConvenienceExtension.swift
//  0829-Weibo
//
//  Created by 毕仲阳 on 16/8/30.
//  Copyright © 2016年 mycompany. All rights reserved.
//

import UIKit
extension UILabel{
    convenience init(textColor:UIColor,fontSize:CGFloat)
    {
        self.init()
        self.textColor = textColor
        self.font = UIFont.systemFont(ofSize: fontSize)
    }
    
}

extension UIButton{
    convenience init(textColor:UIColor,fontSize:CGFloat)
    {
        self.init()
        self.setTitleColor(textColor, for: UIControlState.normal)
        self.titleLabel?.font = UIFont.systemFont(ofSize: fontSize)
    }
    
}
